 class Base {
    int a;
     public Base(){
         System.out.println("Base()");
     }
    public Base(int a){
        System.out.println("Base()");
    }
}
 class Derived extends Base{
    int b = 4;
    public Derived(int b){


        System.out.println("Derived()");

    }
}
public class Test {
    public static void main(String[] args) {
        Derived d = new Derived(2);
        System.out.println(d.b);
    }
}




